<link rel="stylesheet" type="text/css" href="<?=gurl('css');?>/search.css" />
<div class="login">
<? if($account):?>
<a href="/home/profile/<?=$account["account_id"];?>"><?=$account["account_username"];?></a><a href="<?=gurl('accounts/logout');?>">退出</a><a href="<?=gurl('about/contact');?>">建议</a>
<? else:?>
<a href="<?=gurl('accounts/');?>">登录</a><a href="<?=gurl('accounts/');?>">注册</a><a href="<?=gurl('about/contact');?>">建议</a>
<? endif;?>
</div>
<div class="w960">
	<div class="w660">
		<div class="smallCon">
			<h1><a id="top" name="top">&nbsp;</a>搜索</h1>
			<form method="GET" action="<?=gurl('/search');?>/" onSubmit="return Validator.Validate(this,2);">
            <div class="searchBox">
            	<input type="text" name="keyword" id="keyword" class="searchWord" value="<?=$keyword;?>" dataType="Require" msg="请输入关键字" /><input type="submit" value="" class="searchIco" />
            	<input type="hidden" name="action" id="action" value="user">
            </div>
            <div class="searchTab">
               <ul>
                    <li><a href="<?=gurl('/search');?>/?keyword=<?=$keyword;?>&action=topic">话题</a></li>
                    <li><a href="<?=gurl('/search');?>/?keyword=<?=$keyword;?>&action=site">轻站</a></li>
                    <li class="sel"><a href="<?=gurl('/search');?>/?keyword=<?=$keyword;?>&action=user">用户</a></li>
                </ul>
            </div>
            </form>
            <div class="blank8"></div>
            <? if (is_array($result) && count($result)>0):?>
            <div class="listMember">
             <ul>
            <? foreach ($result as $row):?>        		
               <li>
               	<span class="listImg60"><img src="<?=gurl('images');?>/tran.gif" class="blank"><a href="/home/profile/<?=$row["id"];?>"><img src="<?=gurl('data');?>/upload_pic/<?=$row['photo'];?>" onerror="this.src='<?=gurl('images');?>/head.gif';" width="60" height="60"></a></span>
                <span class="listTxt"><a href="/home/profile/<?=$row["id"];?>"><?=$row["title"];?></a></span>
           	  </li>    
            <? endforeach;?>
            </ul>
            </div>
            <? else:?>
            <div class="listMember">
				 <p class="none">没有相关资料，请换个词试试。</p>
			</div>
            <? endif;?>
            <div class="blank8"></div>
            <div class="allmark">
					<div class="right"><a href="#top" class="goTop cCGray">返回顶部</a></div>
				</div>
				<div class="blank8"></div>
				<div class="page">
                    <?=$pagestring;?>
                </div>
		</div>
	</div>
	<div class="sider" style="padding-top:22px">
    	<script language="javascript" src="http://www.renao100.com/ads/get/23"></script>
        <div class="blank8"></div>
        <p class="backprev"><a href="<?=gurl('/');?>">返回首页</a></p>
        <div class="blank8"></div>
        <script language="javascript" src="http://www.renao100.com/ads/get/24"></script>
        <script language="javascript" src="http://www.renao100.com/ads/get/25"></script>
        <script language="javascript" src="http://www.renao100.com/ads/get/26"></script>
        <script language="javascript" src="http://www.renao100.com/ads/get/27"></script>
    </div>
	<div class="hackbox"></div>
</div>

